package cn.stylefeng.guns.sys.modular.notice.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

/**
 * <p>
 * 通知中心
 * </p>
 *
 * @author author
 * @since 2020-08-19
 */
@TableName("db_notice")
public class DbNotice implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 申请内容
     */
    @TableField("content")
    private String content;

    /**
     * 单位
     */
    @TableField("department")
    private String department;

    /**
     * 应用系统
     */
    @TableField("system")
    private String system;

    /**
     * 状态
     */
    @TableField("state")
    private String state;

    /**
     * 管理端状态
     */
    @TableField("admin_state")
    private String adminState;

    /**
     * 消息内容
     */
    @TableField("xxContent")
    private String xxContent;

    /**
     * 用户id
     */
    @TableField("userId")
    private String userId;
    /**
     * 审批状态
     */
    @TableField("spState")
    private String spState;
    /**
     * 服务类型
     */
    @TableField("service_type")
    private String serviceType;
    /**
     * 备注
     */
    @TableField("remark")
    private String remark;

    /**
     * 委办局申请数据库id
     */
    @TableField("service_id")
    private Integer serviceId;

    /**
     * 是否处理过
     */
    @TableField("first_in")
    private Integer firstIn;


    /**
     * 委办局申请新增数据对比和接口id
     */
    @TableField("interface_approval_id")
    private Integer interfaceApprovalId;

    /**
     * 乐观锁
     */
    @TableField("REVISION")
    private Integer revision;

    /**
     * 创建人
     */
    @TableField("CREATED_BY")
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField("CREATED_TIME")
    private Date createdTime;

    /**
     * 更新人
     */
    @TableField("UPDATED_BY")
    private String updatedBy;

    /**
     * 更新时间
     */
    @TableField("UPDATED_TIME")
    private Date updatedTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getSystem() {
        return system;
    }

    public void setSystem(String system) {
        this.system = system;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getXxContent() {
        return xxContent;
    }

    public void setXxContent(String xxContent) {
        this.xxContent = xxContent;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getRevision() {
        return revision;
    }

    public void setRevision(Integer revision) {
        this.revision = revision;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getSpState() {
        return spState;
    }

    public void setSpState(String spState) {
        this.spState = spState;
    }

    public String getServiceType() {
        return serviceType;
    }

    public void setServiceType(String serviceType) {
        this.serviceType = serviceType;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getAdminState() {
        return adminState;
    }

    public void setAdminState(String adminState) {
        this.adminState = adminState;
    }

    public Integer getServiceId() {
        return serviceId;
    }

    public void setServiceId(Integer serviceId) {
        this.serviceId = serviceId;
    }

    public Integer getInterfaceApprovalId() {
        return interfaceApprovalId;
    }

    public void setInterfaceApprovalId(Integer interfaceApprovalId) {
        this.interfaceApprovalId = interfaceApprovalId;
    }

    public Integer getFirstIn() {
        return firstIn;
    }

    public void setFirstIn(Integer firstIn) {
        this.firstIn = firstIn;
    }

    @Override
    public String toString() {
        return "DbNotice{" +
                "id=" + id +
                ", content=" + content +
                ", first_in=" + firstIn +
                ", department=" + department +
                ", system=" + system +
                ", state=" + state +
                ", serviceId=" + serviceId +
                ", xxContent=" + xxContent +
                ", userId=" + userId +
                ", spState=" + spState +
                ", adminState=" + adminState +
                ", serviceType=" + serviceType +
                ", interfaceApprovalId=" + interfaceApprovalId +
                ", remark=" + remark +
                ", revision=" + revision +
                ", createdBy=" + createdBy +
                ", createdTime=" + createdTime +
                ", updatedBy=" + updatedBy +
                ", updatedTime=" + updatedTime +
                "}";
    }
}
